/*
 * Powered By XY
 * Since 2020
 */

package com.xy.biz.base.domain.req;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotNull;

import com.xy.lang.validation.annotation.AlertMessage;

/**
 *
 * 
 * @author zsp
 * @date 2020-9-3
 */
@NoArgsConstructor
@AllArgsConstructor
@Builder
@Data
public class ListCorpRequest {	
	
	@NotNull(message = "pageIndexRequired")
	@AlertMessage(code = "pageIndexRequired", msg = "页索引不能为空")
	private Integer pageIndex;

	@NotNull(message = "pageSizeRequired")
	@AlertMessage(code = "pageSizeRequired", msg = "页大小不能为空")
	private Integer pageSize;

	/**
	 * 企业编码
	 */
	private String corpCode;
	/**
	 * 类型：0-客户，1-商家
	 */
	private Integer type;
	/**
	 * 客户分组字典编码
	 */
	private String groupDictCode;
	/**
	 * 行政区-省Id
	 */
	private Long provinceRegionId;
	/**
	 * 行政区-市Id
	 */
	private Long cityRegionId;
	/**
	 * 行政区-区县Id
	 */
	private Long districtRegionId;
	/**
	 * 租户Id，0表示不指定
	 */
	private Long tenantId;

}
